home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / dd / localdefs.h < prev    next >
C/C++ Source or Header  |  1994-02-06  |  3KB  |  116 lines

  1. // dinclude:local/defs.h
  2.  
  3. #include        <exec/types.h>
  4. #include     <exec/execbase.h>
  5. #include        <exec/nodes.h>
  6. #include        <exec/lists.h>
  7. #include    <exec/libraries.h>
  8. #include        <exec/ports.h>
  9. #include        <exec/memory.h>
  10. #include        <exec/execbase.h>
  11. #include    <utility/tagitem.h>
  12. #include        <hardware/custom.h>
  13. #include        <hardware/dmabits.h>
  14. #include        <intuition/intuitionbase.h>
  15. #include        <intuition/gadgetclass.h>
  16. #include        <libraries/gadtools.h>
  17. #include        <graphics/gfxbase.h>
  18. #include        <graphics/view.h>
  19. #include        <graphics/displayinfo.h>
  20. #include        <graphics/gfxmacros.h>
  21. #include        <devices/console.h>
  22. #include        <devices/conunit.h>
  23. #include        <devices/serial.h>
  24. #include        <dos/dos.h>
  25. #include        <dos/dosextens.h>
  26. #include        <dos/filehandler.h>
  27. #include        <dos/doshunks.h>
  28. #include        <workbench/workbench.h>
  29. #include        <workbench/icon.h>
  30. #include    <clib/macros.h>
  31.  
  32. #include        <stdlib.h>
  33. #include        <stdio.h>
  34. #include        <stdarg.h>
  35. #include        <fcntl.h>
  36. #include        <string.h>
  37. #include    <lib/rexx.h>
  38. #include     <lib/bcpl.h>
  39. #include     <lib/misc.h>
  40.  
  41. #include        <clib/exec_protos.h>
  42. #include        <clib/dos_protos.h>
  43. #include        <clib/intuition_protos.h>
  44. #include        <clib/diskfont_protos.h>
  45. #include        <clib/graphics_protos.h>
  46. #include        <clib/gadtools_protos.h>
  47. #include        <clib/asl_protos.h>
  48. #include        <clib/alib_protos.h>
  49. #include        <clib/icon_protos.h>
  50. #include        <clib/wb_protos.h>
  51.  
  52.  
  53. #define O_READ  (O_RDONLY)
  54. #define O_WRITE (O_WRONLY|O_CREAT|O_TRUNC)
  55.  
  56.  
  57. typedef struct TagItem          TAGS;
  58.  
  59. // dos.library
  60. typedef BPTR                    LOCK;
  61. typedef struct FileInfoBlock    FIB;
  62. typedef struct Process          APROCESS;
  63. typedef struct CommandLineInterface CLI;
  64.  
  65. // exec.library
  66. typedef struct ExecBase     EBASE;
  67. typedef struct Node             NODE;
  68. typedef struct List             LIST;
  69. typedef struct Library          LIBRARY;
  70. typedef struct Message          MSG;
  71. typedef struct MsgPort          MPORT;
  72. typedef struct Task        TASK;
  73.  
  74. // intuition.library
  75. typedef struct IntuitionBase    IBASE;
  76. typedef struct VisualInfo       VINFO;
  77. typedef struct Gadget           GADGET;
  78. typedef struct NewGadget        NEWGAD;
  79. typedef struct Screen           SCREEN;
  80. typedef struct Window           WINDOW;
  81. typedef struct IntuiMessage     IMSG;
  82. typedef struct StringInfo       STRINGINFO;
  83.  
  84. // graphics.library
  85. typedef struct GfxBase          GBASE;
  86. typedef struct View             VIEW;
  87. typedef struct ViewPort         VPORT;
  88. typedef struct RastPort         RPORT;
  89. typedef struct BitMap           BITMAP;
  90. typedef struct RasInfo          RINFO;
  91. typedef struct TextAttr         TATTR;
  92. typedef struct Rectangle        RECT;
  93. typedef struct TextFont         FONT;
  94.  
  95. // devices
  96. typedef struct IORequest        IOREQ;
  97. typedef struct IOStdReq         STDREQ;
  98. typedef struct IOExtSer         SERREQ;
  99.  
  100. // workbench.library
  101. typedef struct WBStartup    WBMSG;
  102.  
  103. // asl.library
  104. typedef struct FontRequester    FONTREQ;
  105. typedef struct FileRequester    FILEREQ;
  106.  
  107. // typedef unsigned short          USHORT;
  108.  
  109. extern __far struct Custom      custom;
  110. extern GBASE                    *GfxBase;
  111.  
  112. // For makeproto utility (use it!!!)
  113. #define Prototype        extern
  114. #define Local            static
  115.  
  116.